package top.eggcode.system.modules.mongo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Title:
 * Description: TODO
 * Date: 2021/6/1 9:17
 *
 * @author JiaQi Ding
 * @version 1.0
 */
@Document(collection = "mongo_comment")
@Data
public class CommentDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    private String subjectId;

    private String commentId;

    private String content;

    private LocalDateTime time;
}
